package cn.touna.jss.modules.custom.batch;

import org.springframework.util.MultiValueMap;

public class CsvReaderConfig {
    /**
     * 列index对应的paramName,列index从0开始计数
     */
    private String[] columns;

    /**
     * 跳过行数，默认0
     */
    private int skipLine = 0;
    /**
     * 分隔符,默认为,
     */
    private String seperator = ",";
    /**
     * 过滤值
     */
    private MultiValueMap<Integer,String> filters;

    public String[] getColumns() {
        return columns;
    }

    public void setColumns(String[] columns) {
        this.columns = columns;
    }

    public int getSkipLine() {
        return skipLine;
    }

    public void setSkipLine(int skipLine) {
        this.skipLine = skipLine;
    }

    public String getSeperator() {
        return seperator;
    }

    public void setSeperator(String seperator) {
        this.seperator = seperator;
    }

    public MultiValueMap<Integer, String> getFilters() {
        return filters;
    }

    public void setFilters(MultiValueMap<Integer, String> filters) {
        this.filters = filters;
    }
}
